package com.stlm2.dems.entity.base;


import java.math.BigDecimal;
import java.util.Date;

/**
 * Author：fuchunyu
 * Date：2017/12/22
 * Description：抽奖期数基础表
 */
public class BasePeriods {
    private Integer id;//唯一标识
    private Integer code;//订单编号
    private Integer goodsId;//商品标识
    private BigDecimal unitIntegral;//商品单价
    private Integer nowNum;//当前人数
    private Integer totalNum;//总人数
    private String participant;//参与者
    private Integer winning;//中奖者
    private Integer state;//状态
    private Date createTime;//创建时间
    private Date endTime;//结束时间

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getUnitIntegral() {
        return unitIntegral;
    }

    public void setUnitIntegral(BigDecimal unitIntegral) {
        this.unitIntegral = unitIntegral;
    }

    public Integer getNowNum() {
        return nowNum;
    }

    public void setNowNum(Integer nowNum) {
        this.nowNum = nowNum;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public String getParticipant() {
        return participant;
    }

    public void setParticipant(String participant) {
        this.participant = participant;
    }

    public Integer getWinning() {
        return winning;
    }

    public void setWinning(Integer winning) {
        this.winning = winning;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
